﻿using UnityEngine;
using System.Collections;
using System.IO;

public class ReadMetaFile : MonoBehaviour
{
    void Start()
    {
        string path = Application.dataPath;
        Debug.Log(path+ "/Cube.prefab.meta");
        readTextFile(path + "/Cube.prefab.meta");
    }


    void readTextFile(string file_path)
    {
        StreamReader inp_stm = new StreamReader(file_path);
        string inp_ln = "";
        while (!inp_stm.EndOfStream)
        {
            inp_ln += inp_stm.ReadLine();
            // Do Something with the input. 
        }
        inp_stm.Close();
        Debug.Log(inp_ln);
    }
}
